<template>
  <div class="app-container">
    <el-tabs type="border-card">
      <el-tab-pane label="短信服务商" v-hasPermi="['cms:sms-provider:list']">
       <sms-provider></sms-provider>
      </el-tab-pane>
      <el-tab-pane label="短信渠道" v-hasPermi="['cms:sms-channel:list']">
        <sms-channel></sms-channel>
      </el-tab-pane>
      <el-tab-pane label="短信业务" v-hasPermi="['cms:sms-biz:list']">
        <sms-biz></sms-biz>
      </el-tab-pane>
      <el-tab-pane label="短信配置" v-hasPermi="['cms:sms-setup:list']">
        <sms-set></sms-set>
      </el-tab-pane>
      <el-tab-pane label="短信白名单" v-hasPermi="['cms:sms-whitelist:list']">
        <sms-white-list></sms-white-list>
      </el-tab-pane>
      <el-tab-pane label="短信测试" v-hasPermi="['cms:sms:test']">
        <sms-test></sms-test>
      </el-tab-pane>
    </el-tabs>

    <el-card class="box-card">
      <div slot="header" class="clearfix">
        <span>注意</span>
      </div>
      <p>1、短信模块涉及到的编码特别重要，如果生成后随意修改会造成程序无法正常运行</p>
      <p>2、所有涉及到锁定业务的模块，被锁定前可以修改编码，锁定后禁止修改编码</p>
    </el-card>
  </div>
</template>

<script>
import SmsProvider from './provider/index';
import SmsChannel from './channel/index';
import SmsBiz from './biz/index';
import SmsSet from './set/index';
import SmsWhiteList from './whitelist/index';
import SmsTest from '@/views/cms/sms/test'
export default {
  name: "sms",
  components: { SmsTest, SmsProvider,SmsChannel,SmsBiz,SmsSet,SmsWhiteList},
  data() {
    return {
    };
  },
  created() {
  },
  methods: {

  }
};
</script>

<style lang="scss" scoped>
.box-card{
  margin-top: 40px;
}
</style>
